{% extends "user_edit.html"%}

{% block right_box %}
<script>
$(document).ready(function(){
    $("#sendemail").click(function(){
        $.ajax({
            type:"POST",
            url:"",
            data:{
                "title": $("#mail_title").html(),
                "content":$("#mail_info").html(),
                "csrfmiddlewaretoken":getCookie('csrftoken'),
            },
            success:function(data){
                alert(1);
            }
            
        });
    });
    
});
</script>
<div class="title"><h3 id="chield_name" class="h3title">整理{{typ}}</h3></div>
<div class="formbox" id="content_box">
        <ul>
            <li>标题：<div contenteditable=true   id="mail_title" style="display:inline;color:#000;" >{{title}}</title></li>
            <li class="email">
            <div id="mail_info" contenteditable=true  style="font-size:14px;color:#222;">
   
            {% include "mail_info.html"%}
            
            
            </div>
        </li>
        <li> <input type="button" id="sendemail" value="如上，发送电子邮件">{{word}} </li>
        </ul>
     
</div>
{% endblock %}